package wkt.basic;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class SelectTreeData {
    private Long id;
    private Long parentId;
    private Object name;
    private List<SelectTreeData> children;

    public SelectTreeData(Long id, Long parentId, Object name) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
    }
}
